package com.chen.positioning.config.pay;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Auther:bxd
 * Date:2019-8-25
 * Description:支付宝相关信息配置
 */
@PropertySource(value ={"classpath:antpay.properties"})
@Component
@ConfigurationProperties(prefix ="antpay")
public class AntPayConfig {

    /**应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号*/
    public static String appId;

    /**支付宝网关*/
    public static String open_api_domain;


    /**商户私钥，您的PKCS8格式RSA2私钥*/
    public static String privateKey;

    /**支付宝公钥*/
    public static String publicKey;


    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String charset = "utf-8";


    public static String notify_url ="http://148.70.216.226:8080/alipay.trade.page.pay-JAVA-UTF-8/notify_url.jsp";




}
